package com.partsoft.webs.spring;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.web.context.support.StaticWebApplicationContext;

/**
 * Spring上下文中的WebApplication上下文
 * 
 * @author neeker
 * 
 */
public class ContextWebApplicationContext extends StaticWebApplicationContext implements ApplicationContextAware {

	public void setApplicationContext(ApplicationContext applicationcontext) throws BeansException {
		setParent(applicationcontext);
	}

}
